from django.conf.urls import url
from . import views

urlpatterns = [
    url(r'^activities$', views.ActivityViewSet.as_view({"get": "list"})),
    url(r'^activities/(?P<pk>\d+)$', views.ActivityViewSet.as_view({"get": "retrieve"})),
    url(r'^activity$', views.ActivityApplyView.as_view()),
]